package com.example.devicemanage.entity;

public class Regist {
   private int rid;
   private String category;
   private String ename;
   private int eid;
   private String model;
   private String spec;
   private float price;
   private int num;
   private String pdate;
   private String manufacturer;
   private String slife;
   private String agent;
  public Regist(){

  }

    public Regist(int rid, String category, String ename, int eid, String model, String spec, float price, int num, String pdate, String manufacturer, String slife, String agent) {
        this.rid = rid;
        this.category = category;
        this.ename = ename;
        this.eid = eid;
        this.model = model;
        this.spec = spec;
        this.price = price;
        this.num = num;
        this.pdate = pdate;
        this.manufacturer = manufacturer;
        this.slife = slife;
        this.agent = agent;
    }

    public int getRid() {
        return rid;
    }

    public void setRid(int rid) {
        this.rid = rid;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public String getEname() {
        return ename;
    }

    public void setEname(String ename) {
        this.ename = ename;
    }

    public int getEid() {
        return eid;
    }

    public void setEid(int eid) {
        this.eid = eid;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public String getSpec() {
        return spec;
    }

    public void setSpec(String spec) {
        this.spec = spec;
    }

    public float getPrice() {
        return price;
    }

    public void setPrice(float price) {
        this.price = price;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public String getPdate() {
        return pdate;
    }

    public void setPdate(String pdate) {
        this.pdate = pdate;
    }

    public String getManufacturer() {
        return manufacturer;
    }

    public void setManufacturer(String manufacturer) {
        this.manufacturer = manufacturer;
    }

    public String getSlife() {
        return slife;
    }

    public void setSlife(String slife) {
        this.slife = slife;
    }

    public String getAgent() {
        return agent;
    }

    public void setAgent(String agent) {
        this.agent = agent;
    }

    @Override
    public String toString() {
        return "Regist{" +
                "rid=" + rid +
                ", category='" + category + '\'' +
                ", ename='" + ename + '\'' +
                ", eid=" + eid +
                ", model='" + model + '\'' +
                ", spec='" + spec + '\'' +
                ", price=" + price +
                ", num=" + num +
                ", pdate='" + pdate + '\'' +
                ", manufacturer='" + manufacturer + '\'' +
                ", slife='" + slife + '\'' +
                ", agent='" + agent + '\'' +
                '}';
    }
}
